package com.springcloud.ssoclientdemo

import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.autoconfigure.security.oauth2.client.EnableOAuth2Sso
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter

@SpringBootApplication
@EnableOAuth2Sso    //如果需要自定义安全性,可以将该注解移至WebSecurityConfigurerAdapter的子类
class SsoClientDemoApplication {

    static void main(String[] args) {
        SpringApplication.run SsoClientDemoApplication, args
    }
}
